import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:znmm/UI/LoginPages/login_view.dart';
import 'package:znmm/UI/bottom_navigation.dart';

//app  路由
class RouteNames {
  static const loginRoute = '/loginRoute';
  static const homeRoute = '/homeRoute';

  static const registerRoute = '/registerRoute'; //注册
  static const settingRoute = '/settingRoute'; //setting
  static const guideRoute = '/guideRoute'; //引导
  static const chatGptRoute = '/chatGptRoute'; //chat
}

final List<GetPage> routePages = [
  GetPage(name: RouteNames.loginRoute, page: () => const LoginView()),
  GetPage(name: RouteNames.homeRoute, page: () => const BottomNavigation()),
  GetPage(name: RouteNames.registerRoute, page: () => Container()),
  GetPage(name: RouteNames.settingRoute, page: () => Container()),
  GetPage(name: RouteNames.guideRoute, page: () => Container()),
  GetPage(name: RouteNames.chatGptRoute, page: () => Container()),
];
